package com.heima.utils.common;

import java.util.Random;

public class SaltUtil {

    //生成盐字符串
    public static String GetSalt()
    {
        String Salt="";
        for (int i = 0; i < 3; i++) {
            Random random=new Random();
            int num=random.nextInt(25)+97;
            Salt+=(char)num;
        }

        return Salt;
    }
}
